import request from "@/utils/system/request.js"

// 占比分析
export function proportion(data){
    return request({
        url   : "/structure/static/proportion",
        method: "post",
        data,
    })
}

// 帕累托分析
export function pareto(data){
    return request({
        url   : "/structure/static/pareto",
        method: "post",
        data,
    })
}

// 构成比分析
export function compositionRatio(data){
    return request({
        url   : "/structure/static/composition-ratio",
        method: "post",
        data,
    })
}

// 结构变化指数分析
export function structureChange(data){
    return request({
        url   : "/structure/dynamic/structure-change",
        method: "post",
        data,
    })
}

// 贡献度分析
export function contribution(data){
    return request({
        url   : "/structure/dynamic/contribution",
        method: "post",
        data,
    })
}
